﻿<?xml version="1.0"?>
<!DOCTYPE XYZ [
  <!ELEMENT XYZ ( CARD )+ >
  <!ELEMENT CARD (#PCDATA | INPUT | DO)*>
  <!ATTLIST CARD NAME NMTOKEN #IMPLIED>
  <!ATTLIST CARD STYLE (LIST|SET) 'LIST'>
  <!ELEMENT DO EMPTY>
  <!ATTLIST DO TYPE CDATA #REQUIRED>
  <!ATTLIST DO URL CDATA #IMPLIED>
  <!ELEMENT INPUT EMPTY>
  <!ATTLIST INPUT TYPE (TEXT|PASSWORD) 'TEXT'>
  <!ATTLIST INPUT KEY NMTOKEN #IMPLIED>
  <!ENTITY nbsp "&#160;">
]>
<!-- This is a comment -->
<XYZ>
  <CARD NAME="abc" STYLE="LIST">
    <DO TYPE="ACCEPT" URL="http://xyz.org/s"/> Enter name: <INPUT TYPE="TEXT" KEY="N"/>
  </CARD>
</XYZ>
